class Course < ActiveRecord::Base
  
  belongs_to :batch
  
  def children
    Course.find_all_by_parent_course_id(id) 
  end
  
end
